package com.yonyou.ucf.mdf.app.isvdxq.other.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "dxqyy_productsku")
public class ProductSKUEntity extends BaseEntity {

    private Long id;

    private String type;

    private String sourcetype;

    private String showItemName;

    private String userdefAliasName;

    private String isSerInput;

    private String isWebShow;

    private String isEnabled;

    private Integer orderNum;

    private Integer userdefMode;

    private Integer maxInputLen;

    private Integer decimalDigits;

    @YMSColumn(name = "tenant_id")
    private String tenant_id;

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSourcetype() {
        return sourcetype;
    }

    public void setSourcetype(String sourcetype) {
        this.sourcetype = sourcetype;
    }

    public String getShowItemName() {
        return showItemName;
    }

    public void setShowItemName(String showItemName) {
        this.showItemName = showItemName;
    }

    public String getUserdefAliasName() {
        return userdefAliasName;
    }

    public void setUserdefAliasName(String userdefAliasName) {
        this.userdefAliasName = userdefAliasName;
    }

    public String getIsSerInput() {
        return isSerInput;
    }

    public void setIsSerInput(String isSerInput) {
        this.isSerInput = isSerInput;
    }

    public String getIsWebShow() {
        return isWebShow;
    }

    public void setIsWebShow(String isWebShow) {
        this.isWebShow = isWebShow;
    }

    public String getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(String isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getUserdefMode() {
        return userdefMode;
    }

    public void setUserdefMode(Integer userdefMode) {
        this.userdefMode = userdefMode;
    }

    public Integer getMaxInputLen() {
        return maxInputLen;
    }

    public void setMaxInputLen(Integer maxInputLen) {
        this.maxInputLen = maxInputLen;
    }

    public Integer getDecimalDigits() {
        return decimalDigits;
    }

    public void setDecimalDigits(Integer decimalDigits) {
        this.decimalDigits = decimalDigits;
    }
}
